<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    html,
    body,
    #root {
      height: 100%;
      margin: 0;
      padding: 0;
    }
    .bg {
      width: 100%;
      height: 100%;
      border: 1px solid;
      background-color: gray;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .text {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      width: 300px;
      height: 300px;
    }
  </style>
  <body>
    <div id="root">
      <button @click="wow=!wow" v-show="!wow">你点一下试试</button>
      <div class="bg" v-show="wow">
        <div class="text">
          <span>天翔龙闪</span></span>
          <span>绯村剑心</span>
          <button @click="wow=!wow">拔刀斋</button>
        </div>
      </div>
    </div>
  </body>
</html>
<script src="http://unpkg.zhimg.com/vue@2"></script>
<script>
  const vm = new Vue({
    el: "#root",
    data: {
      wow: false
    },
    methods: {}
  })
</script>
